﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace OnlineJobPortal.Models
{
    public class AccountRepository : IAccountRepository
    {
        public void Save(User user)
        {
            using (JobPortalEntities2 db = new JobPortalEntities2())
            {
                db.Users.Add(user);
                db.SaveChanges();
            }
        }
    }
}